<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>放映场次管理</title>
<<<<<<< HEAD
    <script src="/movie/Movie_version_1.1/movie/Public/pfinal.js"></script>
=======
<<<<<<< HEAD
=======
<<<<<<< HEAD
>>>>>>> 7ae8d3ed21999618de57391156308651358b4d04
    <link href="/movie/Movie_version_1.1/movie/Public/static/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link href="/movie/Movie_version_1.1/movie/Public/static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
    <link href="/movie/Movie_version_1.1/movie/Public/static/admin/css/layout.css" rel="stylesheet">
    <!--artDialog-->
    <link href="/movie/Movie_version_1.1/movie/Public/static/art-dialog/css/ui-dialog.css" rel="stylesheet"/>
    <script src="/movie/Movie_version_1.1/movie/Public/static/art-dialog/dist/dialog-min.js"></script>
    <!--RainJS-->
    <link href="/movie/Movie_version_1.1/movie/Public/static/pfinal/css/base.css" rel="stylesheet"/>

    <script src="/movie/Movie_version_1.1/movie/Public/static/jquery/jquery.min.js"></script>
<<<<<<< HEAD


    <script src="/movie/Movie_version_1.1/movie/Public/static/art-dialog/dist/dialog-min.js"></script>
    <link href="/movie/Movie_version_1.1/movie/Public/static/art-dialog/css/ui-dialog.css" rel="stylesheet"/>
    <script src="/movie/Movie_version_1.1/movie/Public/static/art-dialog/dist/dialog-min.js"></script>
    <script src="/movie/Movie_version_1.1/movie/Public/static/pfinal/pfinal.js"></script>
=======
=======
<<<<<<< HEAD
>>>>>>> 2a3371089cccbebdcaee5c5d430f53a1138dd6b9
    <link href="/project3/movie/movie/Public/static/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link href="/project3/movie/movie/Public/static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
    <link href="/project3/movie/movie/Public/static/admin/css/layout.css" rel="stylesheet">
    <!--artDialog-->
    <link href="/project3/movie/movie/Public/static/art-dialog/css/ui-dialog.css" rel="stylesheet"/>
    <script src="/project3/movie/movie/Public/static/art-dialog/dist/dialog-min.js"></script>
    <!--RainJS-->
    <link href="/project3/movie/movie/Public/static/pfinal/css/base.css" rel="stylesheet"/>
    <script src="/project3/movie/movie/Public/static/pfinal/pfinal.js"></script>
<<<<<<< HEAD
=======
=======
    <link href="/movie1/Public/static/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link href="/movie1/Public/static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
    <link href="/movie1/Public/static/admin/css/layout.css" rel="stylesheet">
    <!--artDialog-->
    <link href="/movie1/Public/static/art-dialog/css/ui-dialog.css" rel="stylesheet"/>
    <script src="/movie1/Public/static/art-dialog/dist/dialog-min.js"></script>
    <!--RainJS-->
    <link href="/movie1/Public/static/pfinal/css/base.css" rel="stylesheet"/>
    <script src="/movie1/Public/static/pfinal/pfinal.js"></script>
>>>>>>> 8b3ffb88f860faab6b17c06f8295601b277355ba
>>>>>>> 2583b002bdd9e079cb754cdfea42eda8b9e40712
>>>>>>> 2a3371089cccbebdcaee5c5d430f53a1138dd6b9
>>>>>>> 7ae8d3ed21999618de57391156308651358b4d04

</head>
<body>
<!-- .row必须包含在 .container(固定宽度)或 .container-fluid(100% 宽度)中，以便为其赋予合适的排列(aligment)和内补(padding)-->
<nav class="layout-header">
    <div class="container layout-width">
        <div class="row">
            <div class="col-md-12">
                <div class="pull-left">
                    <a href="" class="logo">
                        <span class="fa fa-desktop"></span> 商户管理后台
                    </a>
                </div>
                <div class="pull-right">
                <span class="account-info">
                    <span>欢迎:<?php echo ($username); ?></span>
                     <i class="glyphicon glyphicon-print"></i>
                    <a class="login-out" href="<?php echo U('Default/logout');?>">退出</a>
                </span>
                </div>
            </div>
        </div>
    </div>
</nav>

<section class="container layout-main layout-width">
    <div class="row">
        <div class="col-md-12 display-table">

            <!--左菜单区域-->
            <div class="layout-menu" >
                <ul class="main-menu">
                <li>
                    <button style="width:100%" type="button" class="btn btn-default btn-lg">放映厅管理</button>
                </li>
                    <li>
                        <a class="menu-item" href="<?php echo U('Room/index');?>">
                            <i class="glyphicon glyphicon-time"></i>
                            <i class="icon pull-right"></i>
                            <span>放映厅列表</span>
                        </a>
                    </li>
                    <li class="">
                        <a class="menu-item" href="" data-toggle="modal" data-target="#myModal4">
                            <i class="icon glyphicon glyphicon-th-large"></i>
                            <i class="icon pull-right"></i>
                            <span>添加放映厅</span>
                        </a>
                    </li>
                    <li>
                    <button style="width:100%" type="button" class="btn btn-default btn-lg">放映场次管理</button>
                    </li>
                    
                    <li class="">
                        <a class="menu-item" href="<?php echo U('Index/index');?>">
                            <i class="glyphicon glyphicon-play-circle"></i>
                            <i class="icon pull-right"></i>
                            <span>放映场次列表</span>
                        </a>
                    </li>
                    <li class="">
                        <a class="menu-item" data-toggle="modal" data-target="#myModal5" href="">

                            <i class="icon glyphicon glyphicon-th-large"></i>
                            <i class="icon pull-right"></i>
                            <span>添加放映场次</span>
                        </a>
                    </li>
                </ul>
            </div>
            <!-- 左菜单区域结束-->

            <!--右内容区域-->
            
    <div class="layout-content">
        <div class="mt15 pr15">
        <a data-toggle="modal" style="margin-top:20px" data-target="#myModal5"  class="btn btn-sm btn-success pull-right">添加场次</a>
        </div>
        <div class="page-title">放映场次管理</div>

        <div class="content-top">
            <ul class="top-nav">
                <li class="active"><span>放映场次列表</span></li>
            </ul>
            <div class="clearfix"></div>
        </div>
        <!--content-main start-->
        <?php if(!empty($_SESSION['ts'])): ?>
        <div class="ui-tips bg-info" id="error">
            <span class=" icon glyphicon glyphicon-info-sign">
                <?php echo $_SESSION['ts']; unset($_SESSION['ts']); ?>
            </span>
        </div>
        <?php  endif; ?>
        <div class="container-fluid content-main">
            <div class="row">
                <div class="col-md-12">
                    </form>
                    <table class="table table-hover mt15">
                        <thead>
                        <tr>
                            <button type="button" class="btn btn-default btn-lg">（<?php echo ($movie); ?>）cinema</button>
                        </tr>
                        <tr>
                            <th>场次ID</th>
                            <th>电影图</th>
                            <th>电影名</th>
                            <th>放映厅</th>
                            <th>放映时间</th>
                            <th>单价</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <?php if(!empty($season)): if(is_array($season)): foreach($season as $key=>$val): ?><tr class="pages">
                                    <td style="line-height:60px">
                                        <?php echo ($val['cid']); ?>
                                    </td>
                                    <td>
<<<<<<< HEAD
                                        <img width="100px" src="/movie/Movie_version_1.1/movie/Public/upload/<?php echo ($val["mc"]); ?>">
=======
<<<<<<< HEAD
                                        <img width="100px" src="/project3/movie/movie/Public/upload/<?php echo ($val["mc"]); ?>">
=======
<<<<<<< HEAD
                                        <img width="100px" src="/movie/Movie_version_1.1/movie/Public/upload/<?php echo ($val["mc"]); ?>">
=======
<<<<<<< HEAD
                                        <img width="100px" src="/project3/movie/movie/Public/upload/<?php echo ($val["mc"]); ?>">
=======
                                        <img width="100px" src="/movie1/Public/upload/<?php echo ($val["mc"]); ?>">
>>>>>>> 8b3ffb88f860faab6b17c06f8295601b277355ba
>>>>>>> 2583b002bdd9e079cb754cdfea42eda8b9e40712
>>>>>>> 2a3371089cccbebdcaee5c5d430f53a1138dd6b9
>>>>>>> 7ae8d3ed21999618de57391156308651358b4d04
                                    </td>
                                    <td style="line-height:60px">
                                        <?php echo ($val["mname"]); ?>
                                    </td>
                                    <td style="line-height:60px">
                                        <?php echo ($val["rname"]); ?>
                                    </td>
                                    <td style="line-height:60px">
                                       <?php echo date("Y-m-d H:i",$val['ctime']) ?> 
                                    </td>
                                    <td style="line-height:60px">
                                        <?php echo ($val["cp"]); ?>
                                    </td>
                                    <th style="line-height:60px">
                                        <a href="<?php echo U('Index/create',['id'=>$val['cid'],'cp'=>$val['cp']]);?>">修改</a>
                                    </th>
                                </tr><?php endforeach; endif; ?>
                        <?php else: ?>
                            <tr>
                                <th colspan="7"><button type="button" class="btn btn-default btn-lg" style="margin-left:310px;border:none">还没有场次，请前去添加</button></th>
                            </tr><?php endif; ?>
                        </tbody>
                    </table>
                    <div class="pull-right">
                                 <span class="pagination">
                                        <?php echo ($page); ?>
                                 </span>
                    </div>
                    <div class="clearfix"></div>
                </div>
            </div>
        </div>
        <!--content-main end-->
    </div>
    <!--右侧内容结束-->
    <div class="modal fade" id="myModal5" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                            aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title">season</h4>
                </div>
                <div class="modal-body">
                    <form class="form-horizontal" action="<?php echo U('Index/add');?>" method="post">
                        <div class="form-group">
                            <label class="col-sm-2 control-label">电影</label>
                            <div class="col-sm-10">
                                <select class="form-control"  name="name">
                                    <?php if(is_array($movies)): foreach($movies as $key=>$val): ?><option selected value="<?php echo ($val['id']); ?>"><?php echo ($val['name']); ?></option><?php endforeach; endif; ?>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">放映厅</label>
                            <div class="col-sm-10">
                                <select class="form-control"  name="fyt">
                                    <?php if(is_array($room)): foreach($room as $key=>$val): ?><option value="<?php echo ($val['id']); ?>"><?php echo ($val['name']); ?></option><?php endforeach; endif; ?>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">放映时间</label>
                            <div class="col-sm-10">
                               <select name="timey">
                                   <option value="2016">2016</option>
                               </select>
                               <select name="timem">
<<<<<<< HEAD
                                   <?php $__FOR_START_17961__=1;$__FOR_END_17961__=13;for($i=$__FOR_START_17961__;$i < $__FOR_END_17961__;$i+=1){ ?><option value="<?php echo ($i); ?>" ><?php echo ($i); ?>月</option><?php } ?>
                               </select>
                               <select name="timed">
                                   <?php $__FOR_START_3502__=1;$__FOR_END_3502__=32;for($i=$__FOR_START_3502__;$i < $__FOR_END_3502__;$i+=1){ ?><option value="<?php echo ($i); ?>"><?php echo ($i); ?>日</option><?php } ?>
                               </select>
                               <select name="timeh">
                                   <?php $__FOR_START_1871__=1;$__FOR_END_1871__=25;for($i=$__FOR_START_1871__;$i < $__FOR_END_1871__;$i+=1){ ?><option value="<?php echo ($i); ?>"><?php echo ($i); ?>时</option><?php } ?>
                               </select>
                               <select name="timei">
                                   <?php $__FOR_START_24284__=1;$__FOR_END_24284__=61;for($i=$__FOR_START_24284__;$i < $__FOR_END_24284__;$i+=1){ ?><option value="<?php echo ($i); ?>"><?php echo ($i); ?>分</option><?php } ?>
=======
<<<<<<< HEAD
                                   <?php $__FOR_START_5296__=1;$__FOR_END_5296__=13;for($i=$__FOR_START_5296__;$i < $__FOR_END_5296__;$i+=1){ ?><option value="<?php echo ($i); ?>" ><?php echo ($i); ?>月</option><?php } ?>
=======
<<<<<<< HEAD
                                   <?php $__FOR_START_6198__=1;$__FOR_END_6198__=13;for($i=$__FOR_START_6198__;$i < $__FOR_END_6198__;$i+=1){ ?><option value="<?php echo ($i); ?>" ><?php echo ($i); ?>月</option><?php } ?>
                               </select>
                               <select name="timed">
                                   <?php $__FOR_START_29495__=1;$__FOR_END_29495__=32;for($i=$__FOR_START_29495__;$i < $__FOR_END_29495__;$i+=1){ ?><option value="<?php echo ($i); ?>"><?php echo ($i); ?>日</option><?php } ?>
                               </select>
                               <select name="timeh">
                                   <?php $__FOR_START_164__=1;$__FOR_END_164__=25;for($i=$__FOR_START_164__;$i < $__FOR_END_164__;$i+=1){ ?><option value="<?php echo ($i); ?>"><?php echo ($i); ?>时</option><?php } ?>
                               </select>
                               <select name="timei">
                                   <?php $__FOR_START_28173__=1;$__FOR_END_28173__=61;for($i=$__FOR_START_28173__;$i < $__FOR_END_28173__;$i+=1){ ?><option value="<?php echo ($i); ?>"><?php echo ($i); ?>分</option><?php } ?>
=======
<<<<<<< HEAD
                                   <?php $__FOR_START_11230__=1;$__FOR_END_11230__=13;for($i=$__FOR_START_11230__;$i < $__FOR_END_11230__;$i+=1){ ?><option value="<?php echo ($i); ?>" ><?php echo ($i); ?>月</option><?php } ?>
                               </select>
                               <select name="timed">
                                   <?php $__FOR_START_447__=1;$__FOR_END_447__=32;for($i=$__FOR_START_447__;$i < $__FOR_END_447__;$i+=1){ ?><option value="<?php echo ($i); ?>"><?php echo ($i); ?>日</option><?php } ?>
                               </select>
                               <select name="timeh">
                                   <?php $__FOR_START_8332__=1;$__FOR_END_8332__=25;for($i=$__FOR_START_8332__;$i < $__FOR_END_8332__;$i+=1){ ?><option value="<?php echo ($i); ?>"><?php echo ($i); ?>时</option><?php } ?>
                               </select>
                               <select name="timei">
                                   <?php $__FOR_START_13269__=1;$__FOR_END_13269__=61;for($i=$__FOR_START_13269__;$i < $__FOR_END_13269__;$i+=1){ ?><option value="<?php echo ($i); ?>"><?php echo ($i); ?>分</option><?php } ?>
=======
                                   <?php $__FOR_START_14163__=1;$__FOR_END_14163__=13;for($i=$__FOR_START_14163__;$i < $__FOR_END_14163__;$i+=1){ ?><option value="<?php echo ($i); ?>" ><?php echo ($i); ?>月</option><?php } ?>
>>>>>>> 2a3371089cccbebdcaee5c5d430f53a1138dd6b9
                               </select>
                               <select name="timed">
                                   <?php $__FOR_START_7977__=1;$__FOR_END_7977__=32;for($i=$__FOR_START_7977__;$i < $__FOR_END_7977__;$i+=1){ ?><option value="<?php echo ($i); ?>"><?php echo ($i); ?>日</option><?php } ?>
                               </select>
                               <select name="timeh">
                                   <?php $__FOR_START_29358__=1;$__FOR_END_29358__=25;for($i=$__FOR_START_29358__;$i < $__FOR_END_29358__;$i+=1){ ?><option value="<?php echo ($i); ?>"><?php echo ($i); ?>时</option><?php } ?>
                               </select>
                               <select name="timei">
<<<<<<< HEAD
                                   <?php $__FOR_START_2127__=1;$__FOR_END_2127__=61;for($i=$__FOR_START_2127__;$i < $__FOR_END_2127__;$i+=1){ ?><option value="<?php echo ($i); ?>"><?php echo ($i); ?>分</option><?php } ?>
=======
                                   <?php $__FOR_START_14734__=1;$__FOR_END_14734__=61;for($i=$__FOR_START_14734__;$i < $__FOR_END_14734__;$i+=1){ ?><option value="<?php echo ($i); ?>"><?php echo ($i); ?>分</option><?php } ?>
>>>>>>> 8b3ffb88f860faab6b17c06f8295601b277355ba
>>>>>>> 2583b002bdd9e079cb754cdfea42eda8b9e40712
>>>>>>> 2a3371089cccbebdcaee5c5d430f53a1138dd6b9
>>>>>>> 7ae8d3ed21999618de57391156308651358b4d04
                               </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">单价</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control"  name="price">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-10">
                                <button type="submit" class="btn btn-default">添加</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>

            <!--右内容区域结束-->
            <div class="clearfix"></div>
        </div>
    </div>
</section>
<footer class="layout-footer">
    <div class="container layout-width">
        <div class="row">
            <div class="col-md-12">
                <ul class="links">
                    <li><a href="" target="_blank">关于我们</a></li>
                    <li><a href="" target="_blank">服务协议</a></li>
                    <li><a href="" target="_blank">运营规范</a></li>
                    <li><a href="" target="_blank">客服中心</a></li>
                    <li><a href="" target="_blank">在线客服</a></li>
                    <li><p class="copyright">Copyright.All Rights Reserved.</p></li>
                </ul>
            </div>
        </div>
    </div>
</footer>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<<<<<<< HEAD
=======
<<<<<<< HEAD
=======
<<<<<<< HEAD
>>>>>>> 7ae8d3ed21999618de57391156308651358b4d04
<script src="/movie/Movie_version_1.1/movie/Public/static/ie8/html5shiv.min.js"></script>
<script src="/movie/Movie_version_1.1/movie/Public/static/ie8/respond.min.js"></script>
<![endif]-->

<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="/movie/Movie_version_1.1/movie/Public/static/jquery/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="/movie/Movie_version_1.1/movie/Public/static/bootstrap/js/bootstrap.min.js"></script>
<<<<<<< HEAD
=======
=======
<<<<<<< HEAD
>>>>>>> 2a3371089cccbebdcaee5c5d430f53a1138dd6b9
<script src="/project3/movie/movie/Public/static/ie8/html5shiv.min.js"></script>
<script src="/project3/movie/movie/Public/static/ie8/respond.min.js"></script>
<![endif]-->

<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="/project3/movie/movie/Public/static/jquery/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="/project3/movie/movie/Public/static/bootstrap/js/bootstrap.min.js"></script>
<<<<<<< HEAD
=======
=======
<script src="/movie1/Public/static/ie8/html5shiv.min.js"></script>
<script src="/movie1/Public/static/ie8/respond.min.js"></script>
<![endif]-->

<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="/movie1/Public/static/jquery/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="/movie1/Public/static/bootstrap/js/bootstrap.min.js"></script>
>>>>>>> 8b3ffb88f860faab6b17c06f8295601b277355ba
>>>>>>> 2583b002bdd9e079cb754cdfea42eda8b9e40712
>>>>>>> 2a3371089cccbebdcaee5c5d430f53a1138dd6b9
>>>>>>> 7ae8d3ed21999618de57391156308651358b4d04


</body>
</html>